package Java9_13;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Work3 {
    public static void main(String[] args) {
        for (int i = 1900; i <= 2021; i++) {
            if ((i % 4 == 0 && i % 100 != 0) || (i % 400 == 0)) {
                System.out.println(i + "润年");
            }
        }
    }
}
